package executable.instance.inheritance;

import ctu.kfad.run.util.StringUtil;

public class TrickyInheritanceClassC extends TrickyInheritanceClassA {

    @Override
    public String foo(String s) {
        return StringUtil.concatenate(s, "FooFromClassCExtendsClassA");
    }

    public static String callMe() {
        final TrickyInheritanceClassC classCExtendsClassA = new TrickyInheritanceClassC();
        return classCExtendsClassA.foo("aaaaaaa");
    }

    public static String callMeICallFoo() {
        final TrickyInheritanceClassC classCExtendsClassA = new TrickyInheritanceClassC();
        return classCExtendsClassA.callFoo("bbbbbb");
    }


}
